/**
 * Created by Dell on 2017.10.10.
 */
$(function(){
    var userInfo = JSON.parse($.cookie('userInfo'));
    $('.name').html(userInfo.userName);
    $('.logout').click(function(){
        window.location.href='login.html';
    });
    if(userInfo.authPrior != 1){
        $('#infoManage,#userManage').remove();
    }
});
